package com.wyl.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wyl.mapper.AccessMapper;
import com.wyl.model.Access;
@Service("accessService")
public class AccessService {

	@Autowired
	AccessMapper accessMapper;

	public void save(Access access){
		accessMapper.save(access.getIp(), access.getUrl(), access.getTime());
	}
}
